package com.sjlh.centurylianhua.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Module {
    @TableId(type= IdType.AUTO)
    private Integer id;//模块编号
    @TableField("moduleName")
    private String moduleName;//模块名称
    @TableField("Path")
    private String Path;//模块路径
    @TableField("modulePath")
    private String modulePath;//模块路径
    @TableField("parentId")
    private Integer parentId;//父模块编号
    @TableField("isChildNode")
    private Integer isChildNode;//是否子节点
    @TableField("isParentNode")
    private Integer isParentNode;//是否父节点
    @TableField("moduleIcon")
    private String moduleIcon;//模块图标
    private Integer hidden;//是否展示
    private Integer weight;//模块权重
}
